<%@ page language="java" pageEncoding="utf-8"%>

<!DOCTYPE html>
<html>
<head>
<%@ include file="../include.jsp" %>
</head>
<body id="z_body">
	<div class="panel">
		<div class="panel-heading">
			<i class="icon icon-list"></i> 
			${actName}处置力量组
		</div>
		<div class="panel-body">
		
			<form class="form-horizontal" id="form1">
				<input name="act" value="${act}" type="hidden"/>
				<input name="zbh" value="${one.zbh}" type="hidden"/>
				
				<div class="form-group">
					<label class="col-md-3 app_required">组名称</label>
					<div class="col-md-6">
						<input class="form-control" name="zmc" value="${one.zmc}" validType="notEmpty">
					</div>
				</div>					
				<div class="form-group">
					<label class="col-md-3 app_required">所属页</label>
					<div class="col-md-6">
						<input name="ybh" value="${one.ybh}" type="hidden">
						<input class="form-control app_selector" name="ymc" value="${one.ymc}" validType="notEmpty" data_tree="{type:'czlly'}">
					</div>
				</div>
				<div class="form-group">
					<label class="col-md-3"></label>
					<div class="col-md-6">
						<a class="btn btn-primary" onclick="save()">保存</a> &nbsp;
						<a class="btn btn-default" onclick="parent.closeModal();">取消</a>
					</div>
				</div>
				<div style='height:200px;' >
				</div>
			</form>
			
		</div>
	</div>


	
<script type="text/javascript">
/**
 * 保存
 */
function save() {
	//提交
	if(validateForm("form1")) {//表单验证
		tool.save("save", $("#form1").serialize(), function(data) {//提交
			parent.getPage();
			setTimeout(function(){
				parent.closeModal();
			}, 800);
		});
	}
}
	
</script>
</body>
</html>